package com.huike.review.service;

import com.huike.review.pojo.PageBean;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    public int add1(String name,Integer age,String sex);

    int add2(Review review);
    public int deleteById(Long id);

    public int updateById(Review review);

    public Review selectById(Long id);

    public PageBean<Review> selectByPage(int pageNum, int pageSize);
}
